import http from '@/utils/http2'


/**
 * 查询物料(产品)
 * @param {*} params 
 * @returns 
 */
export function queryProduct(params) {
  return http.get('/api/material', params)
}

/**
 * 设置物料库存
 * @param {*} params 
 * @returns 
 */
export function updateStock(params) { 
  return http.post('/api/material/setStock',params)
}